package cc.kigh.bpm.service.impl;

import cc.kigh.bpm.mapper.BpmTaskMapper;
import cc.kigh.bpm.service.IBpmTaskService;
import org.flowable.identitylink.api.history.HistoricIdentityLink;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

/**
 * @author gylang
 * data 2022/3/18
 */
@Service
public class BpmTaskServiceImpl implements IBpmTaskService {

    @Autowired
    private BpmTaskMapper bpmTaskMapper;

    @Override
    public List<HistoricIdentityLink> selectIdentityLinkByTaskIds(Collection<String> taskIds) {
        return bpmTaskMapper.selectIdentityLinkByTaskIds(taskIds);
    }
}
